package com.xjust.Mapper;

import com.github.pagehelper.Page;
import com.xjust.pojo.DrugInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface PharmacyMapper {
    Page<Map<String, Object>> selectMediPatients(String caseNumber, String realName);


    List<DrugInfo> getMediDrug(@Param("caseNumber") String caseNumber);

//    boolean putIssueMedication(Integer drugId, String caseNumber);

    boolean putIssueMedication(Integer drugId, String caseNumber);
}

